﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Internal.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    设置权限
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ScriptStyleCOntent" runat="server">
    <script type="text/javascript">
        function showMessage() {
            alert("修改成功!");
        }
        function returnBack() {
            window.location.href = "UserList";
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p>
        设置权限</p>
    <table>
        <thead>
            <tr>
                <td>
                    姓名
                </td>
                <td>
                    分配模块
                </td>
                <td>
                    分配权限
                </td>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>
                    张宏
                </td>
                <td>
                    <select id="selModule" name="module">
                        <option value="" selected="selected">物料</option>
                        <option value="">进货单</option>
                        <option value="">入库单</option>
                        <option value="">出库单</option>
                        <option value="">组装</option>
                    </select>
                </td>
                <td>
                    <select id="selRole" name="role">
                        <option value="" selected="selected">查看</option>
                        <option value="">查看和修改</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    <select id="Select1" name="module">
                        <option value="" selected="selected">物料</option>
                        <option value="">进货单</option>
                        <option value="">入库单</option>
                        <option value="">出库单</option>
                        <option value="">组装</option>
                    </select>
                </td>
                <td>
                    <select id="Select2" name="role">
                        <option value="" selected="selected">查看</option>
                        <option value="">查看和修改</option>
                    </select>
                </td>
            </tr>
        </tbody>
        <tfoot>
            <tr>
                <td colspan="4">
                    <input type="button" value="修改" onclick="showMessage();" />
                    <input type="button" value="返回" onclick="returnBack();" />
                </td>
            </tr>
        </tfoot>
    </table>
</asp:Content>
